package com.gxl.design.observerpattern.observer;

import com.gxl.design.observerpattern.Bill;

public class ShortMessage extends MyObserver {

    public ShortMessage(Bill bill) {
        this.bill = bill;
        this.bill.observer(this);
    }
    @Override
    public void excute() {
        System.out.println("账单已经通过短信发送至用户手机");
    }
}
